package com.slipper.qmt.vo;

public class InstrumentDetailVO {
    private String exchangeId; // string 合约市场代码
    private String instrumentId; // string 合约代码
    private String instrumentName; // string 合约名称
    private String productId; // string 合约的品种ID(期货)
    private String productName; // string 合约的品种名称(期货)
    private String exchangeCode; // str 交易所代码
    private String uniCode; // str 统一规则代码
    private String createDate; // str 上市日期(期货)
    private String openDate; // str IPO日期(股票)
    private Integer expireDate; // int 退市日或者到期日
    private Double preClose; // float 前收盘价格
    private Double settlementPrice; // float 前结算价格
    private Double upStopPrice; // float 当日涨停价
    private Double downStopPrice; // float 当日跌停价
    private Double floatVolume; // float 流通股本
    private Double totalVolume; // float 总股本
    private Double longMarginRatio; // float 多头保证金率
    private Double shortMarginRatio; // float 空头保证金率
    private Double priceTick; // float 最小价格变动单位
    private Integer volumeMultiple; // int 合约乘数(对期货以外的品种，默认是1)
    private Integer mainContract; // int 主力合约标记，1、2、3分别表示第一主力合约，第二主力合约，第三主力合约
    private Integer lastVolume; // int 昨日持仓量
    private Integer instrumentStatus; // int 合约已停牌日期（停牌第一天值为0，第二天为1，以此类推。注意，正常交易的股票该值也是0） 获取股票停牌状态参考get_full_tick openInt字段
    private Boolean isTrading; // bool 合约是否可交易
    private Boolean isRecent; // bool 是否是近月合约

    public String getExchangeId() {
        return exchangeId;
    }

    public void setExchangeId(String exchangeId) {
        this.exchangeId = exchangeId;
    }

    public String getInstrumentId() {
        return instrumentId;
    }

    public void setInstrumentId(String instrumentId) {
        this.instrumentId = instrumentId;
    }

    public String getInstrumentName() {
        return instrumentName;
    }

    public void setInstrumentName(String instrumentName) {
        this.instrumentName = instrumentName;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getExchangeCode() {
        return exchangeCode;
    }

    public void setExchangeCode(String exchangeCode) {
        this.exchangeCode = exchangeCode;
    }

    public String getUniCode() {
        return uniCode;
    }

    public void setUniCode(String uniCode) {
        this.uniCode = uniCode;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getOpenDate() {
        return openDate;
    }

    public void setOpenDate(String openDate) {
        this.openDate = openDate;
    }

    public Integer getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Integer expireDate) {
        this.expireDate = expireDate;
    }

    public Double getPreClose() {
        return preClose;
    }

    public void setPreClose(Double preClose) {
        this.preClose = preClose;
    }

    public Double getSettlementPrice() {
        return settlementPrice;
    }

    public void setSettlementPrice(Double settlementPrice) {
        this.settlementPrice = settlementPrice;
    }

    public Double getUpStopPrice() {
        return upStopPrice;
    }

    public void setUpStopPrice(Double upStopPrice) {
        this.upStopPrice = upStopPrice;
    }

    public Double getDownStopPrice() {
        return downStopPrice;
    }

    public void setDownStopPrice(Double downStopPrice) {
        this.downStopPrice = downStopPrice;
    }

    public Double getFloatVolume() {
        return floatVolume;
    }

    public void setFloatVolume(Double floatVolume) {
        this.floatVolume = floatVolume;
    }

    public Double getTotalVolume() {
        return totalVolume;
    }

    public void setTotalVolume(Double totalVolume) {
        this.totalVolume = totalVolume;
    }

    public Double getLongMarginRatio() {
        return longMarginRatio;
    }

    public void setLongMarginRatio(Double longMarginRatio) {
        this.longMarginRatio = longMarginRatio;
    }

    public Double getShortMarginRatio() {
        return shortMarginRatio;
    }

    public void setShortMarginRatio(Double shortMarginRatio) {
        this.shortMarginRatio = shortMarginRatio;
    }

    public Double getPriceTick() {
        return priceTick;
    }

    public void setPriceTick(Double priceTick) {
        this.priceTick = priceTick;
    }

    public Integer getVolumeMultiple() {
        return volumeMultiple;
    }

    public void setVolumeMultiple(Integer volumeMultiple) {
        this.volumeMultiple = volumeMultiple;
    }

    public Integer getMainContract() {
        return mainContract;
    }

    public void setMainContract(Integer mainContract) {
        this.mainContract = mainContract;
    }

    public Integer getLastVolume() {
        return lastVolume;
    }

    public void setLastVolume(Integer lastVolume) {
        this.lastVolume = lastVolume;
    }

    public Integer getInstrumentStatus() {
        return instrumentStatus;
    }

    public void setInstrumentStatus(Integer instrumentStatus) {
        this.instrumentStatus = instrumentStatus;
    }

    public Boolean getTrading() {
        return isTrading;
    }

    public void setTrading(Boolean trading) {
        isTrading = trading;
    }

    public Boolean getRecent() {
        return isRecent;
    }

    public void setRecent(Boolean recent) {
        isRecent = recent;
    }

    @Override
    public String toString() {
        return "InstrumentDetailVO{" +
                "exchangeId='" + exchangeId + '\'' +
                ", instrumentId='" + instrumentId + '\'' +
                ", instrumentName='" + instrumentName + '\'' +
                ", productId='" + productId + '\'' +
                ", productName='" + productName + '\'' +
                ", exchangeCode='" + exchangeCode + '\'' +
                ", uniCode='" + uniCode + '\'' +
                ", createDate='" + createDate + '\'' +
                ", openDate='" + openDate + '\'' +
                ", expireDate=" + expireDate +
                ", preClose=" + preClose +
                ", settlementPrice=" + settlementPrice +
                ", upStopPrice=" + upStopPrice +
                ", downStopPrice=" + downStopPrice +
                ", floatVolume=" + floatVolume +
                ", totalVolume=" + totalVolume +
                ", longMarginRatio=" + longMarginRatio +
                ", shortMarginRatio=" + shortMarginRatio +
                ", priceTick=" + priceTick +
                ", volumeMultiple=" + volumeMultiple +
                ", mainContract=" + mainContract +
                ", lastVolume=" + lastVolume +
                ", instrumentStatus=" + instrumentStatus +
                ", isTrading=" + isTrading +
                ", isRecent=" + isRecent +
                '}';
    }
}
